<form action="index.php?app=whyshopseckill&ctl=admin_whyshopseckill&act=toAdd" id='newcurrency-edit-form' method="POST">
  <div class="tableform">
    <div class="division">
      <table width="100%" cellspacing="0" cellpadding="0">
        <tbody>
           <tr>
            <th><em class="red">*</em><label for="seckill_starttime"><{t}>秒杀开始时间:<{/t}></label></th>
            <td><{input type="time" name="seckill_starttime" id="seckill_starttime" required="1" vtype="time"  class="x-input " autocomplete="off" value=$whyshopseckill.seckill_starttime}></td>
          </tr>
       
           <tr>
            <th><em class="red">*</em><label for="seckill_endtime"><{t}>秒杀结束时间:<{/t}></label></th>
            <td><{input type="time" name="seckill_endtime" id="seckill_endtime" required="1" vtype="time"  class="x-input " autocomplete="off" value=$whyshopseckill.seckill_endtime}></td>
          </tr>

                 
            <th><em class="red">*</em><label for="seckill_title"><{t}>标题:<{/t}></label></th>
            <td><input type="text" name="seckill_title" id="seckill_title" required="1" vtype="required"  class="x-input " autocomplete="off" value="<{$whyshopseckill.seckill_title}>"></td>
          </tr>
  
            <tr>
            <th><em class="red">*</em><label for="seckill_description"><{t}>描述:<{/t}></label></th>
            <td><input type="text" name="seckill_description" id="seckill_description" required="1" vtype="required" value="<{$whyshopseckill.seckill_description}>"></td>


          </tr>
        


            <tr>
            <th><em class="red">*</em><label for="seckill_description"><{t}>商品:<{/t}></label></th>
            <td><{input type="object" object="goods@b2c" filter=$goodslink_filter multiple="true"  rowselect="true"  textcol="name" name="linkid" value=$whyshopseckill_goods_id  view="whyshopseckill:admin/whyshopseckill/rel_items.html"  rel_items_seckill=$whyshopseckill_goods }>

            </td>


          </tr>



           
        </tbody>
      </table>
    </div>
  </div>

  <{if $whyshopseckill.whyshopseckill_id}>
    <input type="hidden" name="whyshopseckill_id" value="<{$whyshopseckill.whyshopseckill_id}>" />
  <{/if}>

  <div class="table-action">
    <{button id="newcurrency-edit-form-submit" label=$___b2c="保存"|t:'b2c' type="submit" class="btn-primary"}>
</div>
</form>





<script>


$('newcurrency-edit-form').store('target',{
  onComplete:function(){
    if(opener.finderGroup['<{$env.get._finder.finder_id}>'])
    opener.finderGroup['<{$env.get._finder.finder_id}>'].refresh();
    window.close();
  }
});
</script>